<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/entity/Task.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d6/d10/Task_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Task.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d6/d10/Task_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Task.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.entity;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> inc.glamdring.vtables._edge;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">import</span> inc.glamdring.vtables._ptr;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">import</span> inc.glamdring.vtables._reifier;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d0/d72/namespacenars_1_1language.html">language</a>.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">import</span> java.nio.ByteBuffer;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">import</span> <span class="keyword">static</span> bbcursive.std.*;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">   35</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> <span class="keyword">extends</span> <a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item.html">Item</a> {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a392be691911c98df74f7d33c22c6d978.html#a392be691911c98df74f7d33c22c6d978">   39</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a392be691911c98df74f7d33c22c6d978.html#a392be691911c98df74f7d33c22c6d978">sentence</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256.html#a23311486e5476079fa18d0d3dc9f9256">   43</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256.html#a23311486e5476079fa18d0d3dc9f9256">parentTask</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">   47</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">parentBelief</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a75a4f6bedf20c55345ee33ddf02b87fe.html#a75a4f6bedf20c55345ee33ddf02b87fe">   51</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a75a4f6bedf20c55345ee33ddf02b87fe.html#a75a4f6bedf20c55345ee33ddf02b87fe">bestSolution</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_ad9bdd119be53a8a3638872ad884f9957.html#ad9bdd119be53a8a3638872ad884f9957">   60</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ad9bdd119be53a8a3638872ad884f9957.html#ad9bdd119be53a8a3638872ad884f9957">Task</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> s, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> b) {</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        super(s.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">toKey</a>(), b); <span class="comment">// change to toKey()</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        sentence = s;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600.html#a1487af4a10f874c370c913d9ef784600">key</a> = sentence.toKey();</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a517de5fba6eb19b88c14f197b1ffaea8.html#a517de5fba6eb19b88c14f197b1ffaea8">   74</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a517de5fba6eb19b88c14f197b1ffaea8.html#a517de5fba6eb19b88c14f197b1ffaea8">Task</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> s, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> b, <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> parentTask, <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> parentBelief) {</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <span class="keyword">this</span>(s, b);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        this.parentTask = <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256.html#a23311486e5476079fa18d0d3dc9f9256">parentTask</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        this.parentBelief = <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">parentBelief</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab3baf9164ea3fdfadc91179a4697949a.html#ab3baf9164ea3fdfadc91179a4697949a">   89</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab3baf9164ea3fdfadc91179a4697949a.html#ab3baf9164ea3fdfadc91179a4697949a">Task</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> s, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> b, <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> parentTask, <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> parentBelief, <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> solution) {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keyword">this</span>(s, b, <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256.html#a23311486e5476079fa18d0d3dc9f9256">parentTask</a>, <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">parentBelief</a>);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        this.bestSolution = solution;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">   99</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>() {</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a392be691911c98df74f7d33c22c6d978.html#a392be691911c98df74f7d33c22c6d978">sentence</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    }</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">  108</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">getContent</a>() {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">return</span> sentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">getContent</a>();</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    }</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f.html#a1f643668b958d700afee3616f0baf93f">  117</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f.html#a1f643668b958d700afee3616f0baf93f">getCreationTime</a>() {</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <span class="keywordflow">return</span> sentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">getStamp</a>().<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_acb0b161e2d2fb0cbfb33b44ec2a29075.html#acb0b161e2d2fb0cbfb33b44ec2a29075">getCreationTime</a>();</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f.html#a0dfdf9a597e57b5cf70d88f954ac7a3f">  126</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f.html#a0dfdf9a597e57b5cf70d88f954ac7a3f">isInput</a>() {</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <span class="keywordflow">return</span> parentTask == null;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    }</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23c0c966a1f5687123c089731f951e78.html#a23c0c966a1f5687123c089731f951e78">  135</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a23c0c966a1f5687123c089731f951e78.html#a23c0c966a1f5687123c089731f951e78">isStructural</a>() {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keywordflow">return</span> (parentBelief == null) &amp;&amp; (parentTask != null);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    @Override</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a518ea3eb3fcae3813d8e3a768ed4da58.html#a518ea3eb3fcae3813d8e3a768ed4da58">  145</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a518ea3eb3fcae3813d8e3a768ed4da58.html#a518ea3eb3fcae3813d8e3a768ed4da58">merge</a>(<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item.html">Item</a> that) {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f.html#a1f643668b958d700afee3616f0baf93f">getCreationTime</a>() &gt;= ((<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>) that).<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f.html#a1f643668b958d700afee3616f0baf93f">getCreationTime</a>()) {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            super.merge(that);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            that.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a518ea3eb3fcae3813d8e3a768ed4da58.html#a518ea3eb3fcae3813d8e3a768ed4da58">merge</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a63d100ab04dafaea220b3c1125b782e6.html#a63d100ab04dafaea220b3c1125b782e6">  158</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a63d100ab04dafaea220b3c1125b782e6.html#a63d100ab04dafaea220b3c1125b782e6">getBestSolution</a>() {</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a75a4f6bedf20c55345ee33ddf02b87fe.html#a75a4f6bedf20c55345ee33ddf02b87fe">bestSolution</a>;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    }</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a7d956def715a678d75b113f4bf5efa1d.html#a7d956def715a678d75b113f4bf5efa1d">  167</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a7d956def715a678d75b113f4bf5efa1d.html#a7d956def715a678d75b113f4bf5efa1d">setBestSolution</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> judg) {</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        bestSolution = judg;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    }</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_ae0fc96866e544c3dda5a87ea5c806fc3.html#ae0fc96866e544c3dda5a87ea5c806fc3">  176</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ae0fc96866e544c3dda5a87ea5c806fc3.html#ae0fc96866e544c3dda5a87ea5c806fc3">getParentBelief</a>() {</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">parentBelief</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    @Override</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="../../dc/ddc/classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66.html#a73b96cd17fd93eeab0cc94bd36f25e66">  186</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66.html#a73b96cd17fd93eeab0cc94bd36f25e66">toString</a>() {</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        StringBuffer s = <span class="keyword">new</span> StringBuffer();</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        s.append(super.toString() + <span class="stringliteral">&quot; &quot;</span>);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        s.append(<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>().getStamp());</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <span class="keywordflow">if</span> (parentTask != null) {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            s.append(<span class="stringliteral">&quot;  \n from task: &quot;</span> + parentTask.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a7c18bbc91147504a285041d636284acd.html#a7c18bbc91147504a285041d636284acd">toStringBrief</a>());</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;            <span class="keywordflow">if</span> (parentBelief != null) {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                s.append(<span class="stringliteral">&quot;  \n from belief: &quot;</span> + parentBelief.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">toStringBrief</a>());</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            }</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">if</span> (bestSolution != null) {</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;            s.append(<span class="stringliteral">&quot;  \n solution: &quot;</span> + bestSolution.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">toStringBrief</a>());</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        }</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment">//        s.append(&quot;\n&gt;&gt;&gt;&gt; end of Task&quot;);</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <span class="keywordflow">return</span> s.toString();</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    }</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;}</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762_html_a32d81c9525d514aca8ddc5f4db48a762"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a32d81c9525d514aca8ddc5f4db48a762.html#a32d81c9525d514aca8ddc5f4db48a762">nars.entity.Sentence.toKey</a></div><div class="ttdeci">String toKey()</div><div class="ttdoc">Get a String representation of the sentence for key of Task and TaskLink. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00233">Sentence.java:233</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a7d956def715a678d75b113f4bf5efa1d_html_a7d956def715a678d75b113f4bf5efa1d"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a7d956def715a678d75b113f4bf5efa1d.html#a7d956def715a678d75b113f4bf5efa1d">nars.entity.Task.setBestSolution</a></div><div class="ttdeci">void setBestSolution(Sentence judg)</div><div class="ttdoc">Set the best-so-far solution for a Question or Goal, and report answer for input question. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00167">Task.java:167</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_ad9bdd119be53a8a3638872ad884f9957_html_ad9bdd119be53a8a3638872ad884f9957"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_ad9bdd119be53a8a3638872ad884f9957.html#ad9bdd119be53a8a3638872ad884f9957">nars.entity.Task.Task</a></div><div class="ttdeci">Task(Sentence s, BudgetValue b)</div><div class="ttdoc">Constructor for input task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00060">Task.java:60</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a517de5fba6eb19b88c14f197b1ffaea8_html_a517de5fba6eb19b88c14f197b1ffaea8"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a517de5fba6eb19b88c14f197b1ffaea8.html#a517de5fba6eb19b88c14f197b1ffaea8">nars.entity.Task.Task</a></div><div class="ttdeci">Task(Sentence s, BudgetValue b, Task parentTask, Sentence parentBelief)</div><div class="ttdoc">Constructor for a derived task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00074">Task.java:74</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d_html_aed4fff67fb986a938db98460a16dda2d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">nars.entity.Sentence.toStringBrief</a></div><div class="ttdeci">String toStringBrief()</div><div class="ttdoc">Get a String representation of the sentence, with 2-digit accuracy. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00225">Sentence.java:225</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_html"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item.html">nars.entity.Item</a></div><div class="ttdoc">An item is an object that can be put into a Bag, to participate in the resource competition of the sy...</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00031">Item.java:31</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082_html_ac0ed749c50e55120d5b63219ed7eb082"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">nars.entity.Sentence.getStamp</a></div><div class="ttdeci">Stamp getStamp()</div><div class="ttdoc">Get the stamp of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00173">Sentence.java:173</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a518ea3eb3fcae3813d8e3a768ed4da58_html_a518ea3eb3fcae3813d8e3a768ed4da58"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a518ea3eb3fcae3813d8e3a768ed4da58.html#a518ea3eb3fcae3813d8e3a768ed4da58">nars.entity.Task.merge</a></div><div class="ttdeci">void merge(Item that)</div><div class="ttdoc">Merge one Task into another. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00145">Task.java:145</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a75a4f6bedf20c55345ee33ddf02b87fe_html_a75a4f6bedf20c55345ee33ddf02b87fe"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a75a4f6bedf20c55345ee33ddf02b87fe.html#a75a4f6bedf20c55345ee33ddf02b87fe">nars.entity.Task.bestSolution</a></div><div class="ttdeci">Sentence bestSolution</div><div class="ttdoc">For Question and Goal: best solution found so far. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00051">Task.java:51</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_html"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task.html">nars.entity.Task</a></div><div class="ttdoc">A task to be processed, consists of a Sentence and a BudgetValue. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00035">Task.java:35</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f_html_ab140cb553a6cf40b07093d1df283567f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">nars.entity.Task.getSentence</a></div><div class="ttdeci">Sentence getSentence()</div><div class="ttdoc">Get the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00099">Task.java:99</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a392be691911c98df74f7d33c22c6d978_html_a392be691911c98df74f7d33c22c6d978"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a392be691911c98df74f7d33c22c6d978.html#a392be691911c98df74f7d33c22c6d978">nars.entity.Task.sentence</a></div><div class="ttdeci">Sentence sentence</div><div class="ttdoc">The sentence of the Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00039">Task.java:39</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f_html_a1f643668b958d700afee3616f0baf93f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a1f643668b958d700afee3616f0baf93f.html#a1f643668b958d700afee3616f0baf93f">nars.entity.Task.getCreationTime</a></div><div class="ttdeci">long getCreationTime()</div><div class="ttdoc">Directly get the creation time of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00117">Task.java:117</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e_html_ad1ded9a02cae3557948d05530cd4d37e"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ad1ded9a02cae3557948d05530cd4d37e.html#ad1ded9a02cae3557948d05530cd4d37e">nars.entity.Sentence.getContent</a></div><div class="ttdeci">Term getContent()</div><div class="ttdoc">Get the content of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00133">Sentence.java:133</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600_html_a1487af4a10f874c370c913d9ef784600"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600.html#a1487af4a10f874c370c913d9ef784600">nars.entity.Item.key</a></div><div class="ttdeci">String key</div><div class="ttdoc">The key of the Item, unique in a Bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00034">Item.java:34</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f_html_a091f9ec3bdacfd6741f767cb62b14c0f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">nars.entity.Task.getContent</a></div><div class="ttdeci">Term getContent()</div><div class="ttdoc">Directly get the content of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00108">Task.java:108</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_ab3baf9164ea3fdfadc91179a4697949a_html_ab3baf9164ea3fdfadc91179a4697949a"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_ab3baf9164ea3fdfadc91179a4697949a.html#ab3baf9164ea3fdfadc91179a4697949a">nars.entity.Task.Task</a></div><div class="ttdeci">Task(Sentence s, BudgetValue b, Task parentTask, Sentence parentBelief, Sentence solution)</div><div class="ttdoc">Constructor for an activated task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00089">Task.java:89</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_ae0fc96866e544c3dda5a87ea5c806fc3_html_ae0fc96866e544c3dda5a87ea5c806fc3"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_ae0fc96866e544c3dda5a87ea5c806fc3.html#ae0fc96866e544c3dda5a87ea5c806fc3">nars.entity.Task.getParentBelief</a></div><div class="ttdeci">Sentence getParentBelief()</div><div class="ttdoc">Get the parent belief of a task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00176">Task.java:176</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_html"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">nars.entity.Sentence</a></div><div class="ttdoc">A Sentence is an abstract class, mainly containing a Term, a TruthValue, and a Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00031">Sentence.java:31</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a63d100ab04dafaea220b3c1125b782e6_html_a63d100ab04dafaea220b3c1125b782e6"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a63d100ab04dafaea220b3c1125b782e6.html#a63d100ab04dafaea220b3c1125b782e6">nars.entity.Task.getBestSolution</a></div><div class="ttdeci">Sentence getBestSolution()</div><div class="ttdoc">Get the best-so-far solution for a Question or Goal. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00158">Task.java:158</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256_html_a23311486e5476079fa18d0d3dc9f9256"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a23311486e5476079fa18d0d3dc9f9256.html#a23311486e5476079fa18d0d3dc9f9256">nars.entity.Task.parentTask</a></div><div class="ttdeci">Task parentTask</div><div class="ttdoc">Task from which the Task is derived, or null if input. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00043">Task.java:43</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f_html_a0dfdf9a597e57b5cf70d88f954ac7a3f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f.html#a0dfdf9a597e57b5cf70d88f954ac7a3f">nars.entity.Task.isInput</a></div><div class="ttdeci">boolean isInput()</div><div class="ttdoc">Check if a Task is a direct input. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00126">Task.java:126</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a23c0c966a1f5687123c089731f951e78_html_a23c0c966a1f5687123c089731f951e78"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a23c0c966a1f5687123c089731f951e78.html#a23c0c966a1f5687123c089731f951e78">nars.entity.Task.isStructural</a></div><div class="ttdeci">boolean isStructural()</div><div class="ttdoc">Check if a Task is derived by a StructuralRule. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00135">Task.java:135</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_acb0b161e2d2fb0cbfb33b44ec2a29075_html_acb0b161e2d2fb0cbfb33b44ec2a29075"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_acb0b161e2d2fb0cbfb33b44ec2a29075.html#acb0b161e2d2fb0cbfb33b44ec2a29075">nars.entity.Stamp.getCreationTime</a></div><div class="ttdeci">long getCreationTime()</div><div class="ttdoc">Get the creationTime of the truth-value. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00215">Stamp.java:215</a></div></div>
<div class="ttc" id="namespacenars_1_1language_html"><div class="ttname"><a href="../../d0/d72/namespacenars_1_1language.html">nars.language</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00021">CompoundTerm.java:21</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66_html_a73b96cd17fd93eeab0cc94bd36f25e66"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66.html#a73b96cd17fd93eeab0cc94bd36f25e66">nars.entity.Task.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdoc">Get a String representation of the Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00186">Task.java:186</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7_html_a86212325f750987426f915e2f7ec53d7"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a86212325f750987426f915e2f7ec53d7.html#a86212325f750987426f915e2f7ec53d7">nars.entity.Task.parentBelief</a></div><div class="ttdeci">Sentence parentBelief</div><div class="ttdoc">Belief from which the Task is derived, or null if derived from a theorem. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00047">Task.java:47</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1BudgetValue_html"><div class="ttname"><a href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">nars.entity.BudgetValue</a></div><div class="ttdoc">A triple of priority (current), durability (decay), and quality (long-term average). </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00031">BudgetValue.java:31</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_a7c18bbc91147504a285041d636284acd_html_a7c18bbc91147504a285041d636284acd"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_a7c18bbc91147504a285041d636284acd.html#a7c18bbc91147504a285041d636284acd">nars.entity.Item.toStringBrief</a></div><div class="ttdeci">String toStringBrief()</div><div class="ttdoc">Return a String representation of the Item after simplification. </div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00187">Item.java:187</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_c3c9ea9f52870ae82b0fae20af0d9479.html">entity</a></li><li class="navelem"><a class="el" href="../../d6/d10/Task_8java.html">Task.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
